package com.bw.liuyushan.mycustomcircleprogressbar;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;

/**
 * @created by LiuYuShan on 2021/10/21 15:02.
 * @Describe: SplashActivity
 */

public class SplashActivity extends AppCompatActivity {

    private Button asBtnCircleProgressbar;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);
        initView();//初始化控件
        //点击按钮跳转 进度条页面
        asBtnCircleProgressbar.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(SplashActivity.this, MainActivity.class));
            }
        });

    }

    private void initView() {
        asBtnCircleProgressbar = (Button) findViewById(R.id.as_btn_circle_progressbar);
    }
}
